package com.zhangtai.modules.jobTask.qw;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;


/**
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-08 15:54:17
 */
@Data
@TableName("tb_qw_user")
public class QwUserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    /**
     * 企微id
     */
    private String userid;
    /**
     * 姓名
     */
    private String name;
    /**
     *
     */
    private Integer status;
    /**
     *
     */
    private Integer enable;
    /**
     * 手机
     */
    private String mobile;
    /**
     * 工号
     */
    private String userCode;
    @TableField(exist = false)
    private int[] department;//组织ID
    private String orgids;
    private Integer checkRuleId;
}
